package com.sikaryofficial.backend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sikaryofficial.backend.domain.dto.req.information.ArticleEvaluateListReq;
import com.sikaryofficial.backend.domain.dto.resp.information.ArticleEvaluateDTO;
import com.sikaryofficial.backend.domain.entity.ArticleEvaluate;
import org.apache.ibatis.annotations.Param;

/**
 * 文章评价Mapper接口
 *
 * @author qinjinyuan
 * @date 2024-03-15
 */
public interface ArticleEvaluateMapper extends BaseMapper<ArticleEvaluate> {

    IPage<ArticleEvaluateDTO> evaluateList(Page<ArticleEvaluateDTO> customerPage, @Param("req") ArticleEvaluateListReq req, @Param("userId") Long userId);
}
